package com.nameless.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.nameless.entity.Car;
import com.nameless.entity.Order;
import com.nameless.vo.OrderVo;
import com.nameless.vo.Result;

import java.util.Date;

/**
 * @author keluoyisi
 * @program: car-parent
 * @description:
 * @date 2023-02-28 18:49:26
 */
public interface OrderService extends IService<Order> {
    Result queryAllByParam(OrderVo orderVo);

    Result deleteById(Integer id);

    Result updateOrder(Order order);
    Result updateOrder1(Order order);

    Result insertOrder(String startTime, String endTime, Car car);

    Result selectOrder(Order order);

}
